
import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

//整合模块
import {state,getters,mutations} from "./mutations"
import { actions } from './actions'
import test from './modules/test'
import cate from './modules/cate'
import vip from './modules/vip'
import banner from './modules/banner'
import specs from './modules/specs'
import goods from './modules/goods'
import seckill from './modules/seckill'

export default new Vuex.Store({
  state,
  getters,
  mutations,
  actions,
  modules: {
    test,
    cate,
    vip,
    banner,
    specs,
    goods,
    seckill,
  }
})
